package com.travel.travelServer.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.travel.travelServer.entity.Role;
import com.travel.travelServer.entity.vo.RoleVO;

import java.util.List;
import java.util.Map;

/**
 * (Role)表服务接口
 *
 * @author makejava
 * @since 2023-10-24 16:42:19
 */
public interface RoleService extends IService<Role> {

    Page<RoleVO> pageByRole(Page<RoleVO> page, Map<String, Object> conditions);

    Boolean setPermissions(List<Long> idList, Long id);
}

